/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2023-11-13 10:29:56
 * @LastEditors: 贺楠 1071780426@qq.com
 * @LastEditTime: 2024-10-29 15:35:18
 * @FilePath: \newMould_BHZ\src\views\materialDataManage\materialLocation\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {
    searchObj: [{
        datePickerIsRange: true, //是input
        label: ".", //字段
        prop: "timeDates", //字段名
        width: 8, //参考el-col
        disabled: false, //是否禁用
        placeholder: "采集时间段",

    },{
        selects: true, //是input
        label: ".", //字段
        prop: "deviceNum", //字段名
        width: 5, //参考el-col
        disabled: false, //是否禁用
        placeholder:"设备名称",
        options: []
    }, {
        selects: true, //是input
        label: ".", //字段
        prop: "warningLevel", //字段名
        width: 5, //参考el-col
        disabled: false, //是否禁用
        placeholder: "状态",
        options: [{
                label: '状态',
                value: ""
            }, {
                label: '预警',
                value: "预警"
            },
            {
                label: '正常',
                value: "正常"
            }
        ]
    },],
    table_config: {
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        isOperation: true,
        thead: [{
                label: "项目简称",
                prop: "projectName",
                minWidth: "200px",
                align: "left",

            }, {
                label: "标段",
                prop: "companyName",
                minWidth: "80px",
                align: "left",

            },
            {
                label: "设备编号",
                prop: "deviceNum",
                minWidth: "150px",
                align: "left",
                Jump: true,

            },
            {
                label: "设备名称",
                prop: "deviceName",
                minWidth: "100px",
                align: "left",

            },
            {
                label: "电压1(V)",
                prop: "voltage1",
                minWidth: "80px",
                align: "center",
            },
            {
                label: '电压1预警状态',
                prop: 'voltage1Warning',
                minWidth: '120px',
                align: "center",
                filter: true,
                btn: true,
                colorName: '',
            },
            {
                label: "电压2(V)",
                prop: "voltage2",
                minWidth: "80px",
                align: "center",
            },
            {
                label: '电压2预警状态',
                prop: 'voltage2Warning',
                minWidth: '120px',
                align: "center",
                filter: true,
                btn: true,
                colorName: '',
            },
            {
                label: "电压3(V)",
                prop: "voltage3",
                minWidth: "80px",
                align: "center",

            },
            {
                label: '电压3预警状态',
                prop: 'voltage3Warning',
                minWidth: '120px',
                align: "center",
                filter: true,
                btn: true,
                colorName: '',
            },
            {
                label: '频率1(hz)',
                prop: 'frequency1',
                minWidth: '80px',
                align: "center",
                // filter: true,
                // btn: true,
                // colorName: '',
            },
            {
                label: '频率1预警状态',
                prop: 'frequency1Warning',
                minWidth: '120px',
                align: "center",
                filter: true,
                btn: true,
                colorName: '',
            },
            {
                label: "频率2(hz)",
                prop: "frequency2",
                minWidth: "80px",
                align: "center",
            },
            {
                label: '频率2预警状态',
                prop: 'frequency2Warning',
                minWidth: '120px',
                align: "center",
                filter: true,
                btn: true,
                colorName: '',
            },
            {
                label: "频率3(hz)",
                prop: "frequency3",
                minWidth: "80px",
                align: "center",
            },
            {
                label: '频率3预警状态',
                prop: 'frequency3Warning',
                minWidth: '120px',
                align: "center",
                filter: true,
                btn: true,
                colorName: '',
            },
            {
                label: "电流1(A)",
                prop: "current1",
                minWidth: "120px",
                align: "center",
                // filter: true,
                // btn: true,
                
                // colorName: '',
            },
            {
                label: '电流1预警状态',
                prop: 'current1Warning',
                minWidth: '120px',
                align: "center",
                filter: true,
                btn: true,
                colorName: '',
            },
            {
                label: "电流2(A）",
                prop: "current2",
                minWidth: "80px",
                align: "center",
            },
            {
                label: '电流2预警状态',
                prop: 'current2Warning',
                minWidth: '120px',
                align: "center",
                filter: true,
                btn: true,
                colorName: '',
            },
            {
                label: "电流3(A)",
                prop: "current3",
                minWidth: "80px",
                align: "center",
            },
            {
                label: '电流3预警状态',
                prop: 'current3Warning',
                minWidth: '120px',
                align: "center",
                filter: true,
                btn: true,
                colorName: '',
            },
            
            {
                label: "温度1(℃)",
                prop: "temperature1",
                minWidth: "90px",
                // filter: true,
                // btn: true,
                align: "center",
                // colorName: '',
            },
            {
                label: '温度1预警状态',
                prop: 'temperature1Warning',
                minWidth: '120px',
                align: "center",
                filter: true,
                btn: true,
                colorName: '',
            },
            {
                label: "温度2(℃)",
                prop: "temperature2",
                minWidth: "90px",
                align: "center",
            },
            {
                label: '温度2预警状态',
                prop: 'temperature2Warning',
                minWidth: '120px',
                align: "center",
                filter: true,
                btn: true,
                colorName: '',
            },
            {
                label: "温度3(℃)",
                prop: "temperature3",
                minWidth: "90px",
                // filter: true,
                // btn: true,
                align: "center",
                // colorName: '',
            },
            {
                label: '温度3预警状态',
                prop: 'temperature3Warning',
                minWidth: '120px',
                align: "center",
                filter: true,
                btn: true,
                colorName: '',
            },
            {
                label: "电能1(KW.H)",
                prop: "electricEnergy1",
                minWidth: "100px",
                align: "center",
            },
            {
                label: '电能1预警状态',
                prop: 'electricEnergy1Warning',
                minWidth: '120px',
                align: "center",
                filter: true,
                btn: true,
                colorName: '',
            },
            {
                label: "电能2(KW.H)",
                prop: "electricEnergy2",
                minWidth: "100px",
                align: "center",
            },
            {
                label: '电能2预警状态',
                prop: 'electricEnergy2Warning',
                minWidth: '120px',
                align: "center",
                filter: true,
                btn: true,
                colorName: '',
            },
            {
                label: "电能3(KW.H)",
                prop: "electricEnergy3",
                minWidth: "100px",
                align: "center",
            },
            {
                label: '电能3预警状态',
                prop: 'electricEnergy3Warning',
                minWidth: '120px',
                align: "center",
                filter: true,
                btn: true,
                colorName: '',
            },
            {
                label: '漏电流(mA)',
                prop: 'windspeed',
                minWidth: '70px',
                align: "center",
            },
            {
                label: "上传时间",
                prop: "collectionDates",
                minWidth: "140px",
                align: "center",
            }
        ],

        isCheckBox: false,
        isIndex: true,
        // 表格操作列
        operation: {
            label: '',
            width: '70',
            detail: true,
            prop: true,
            cols: [],
        },
    },
    btnObj: [{
        fEncode: "yj_view",
        fFullname: "查看",
        fOrder: 7
    }]
}